<h1>用户登录</h1>

<div class="row">
  <div class="col-sm-4">
    <%= form_tag sessions_path, method: "post" do %>
      <div class="form-group">
        <input type="text" name="username" placeholder="用户名..." class="form-control" id="form_username" title="用户名6-12个字符">
      </div>
      <div class="form-group">
        <input type="password" name="password" placeholder="密码..." class="form-control" id="form_password">
      </div>
      <input type="submit" class="btn btn-primary" value="登录" /> 
      <%= link_to "注册", new_user_path %>
    <% end %>
  </div>
  <div class="col-sm-8">
  </div>
</div>